﻿using System;

namespace PrearrangedChaos.AgileZen.Service.Rest
{
    public class ResourceNotFoundException : AgileZenServiceException
    {
        public Uri ResourceUri { get; private set; }

        internal ResourceNotFoundException(string message, Uri resourceUri) : base(message)
        {
            ResourceUri = resourceUri;
        }

        internal ResourceNotFoundException(string message, Uri resourceUri, Exception innerException)
            : base(message, innerException)
        {
            ResourceUri = resourceUri;
        }
    }
}